package com.clotingshoppos.modules.product.service;

import com.clotingshoppos.modules.product.entity.ProductDataDictionaryEntity;

import java.util.List;
import java.util.Optional;

/**
 * @InterfaceName: ProductDDService
 * @Description: 产品数据字典服务层接口
 * @Author: zhandad
 * @Date: 2019-03-15 09:07
 * @Version
 */
public interface ProductDDService {
    ProductDataDictionaryEntity addtoPDD(ProductDataDictionaryEntity productDataDictionaryEntity);
    ProductDataDictionaryEntity delete(ProductDataDictionaryEntity productDataDictionaryEntity);
    List<ProductDataDictionaryEntity> findByForm(String form);
    Optional<ProductDataDictionaryEntity> findByPDDId(String id);
    ProductDataDictionaryEntity update(ProductDataDictionaryEntity productDataDictionaryEntity);
}
